namespace PeDALS.Tools.AZ.PSTArchive.PSTData
{
    public class TreeEntry
    {
        private string mstrEntryPath;
        private long mlngEntryAddress;
        private bool mblnValid;
        private string mstrErrorString;

        public TreeEntry(string strPath, long lngEntryAddress)
        {
            mstrEntryPath = strPath;
            mlngEntryAddress = lngEntryAddress;
            mblnValid = true;
        }

        public TreeEntry(string strPath, long lngEntryAddress, bool blnValid, string strErrorString)
        {
            mstrEntryPath = strPath;
            mlngEntryAddress = lngEntryAddress;
            mblnValid = blnValid;
            mstrErrorString = strErrorString;
        }

        public string EntryPath
        {
            get { return mstrEntryPath; }
        }
	
        public long EntryAddress
        {
            get { return mlngEntryAddress; }
        }

        public bool Valid
        {
            get { return mblnValid; }
        }

        public string ErrorString
        {
            get { return mstrErrorString; }
        }
    }
}